.news-item {
  padding: 10px;

  img {
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s;
  }

  &.type-1 {
    .main {
      display: flex;
      .pic {
        flex: 1;
        background-color: #eee;
        box-sizing: border-box;
      }
      .title {
        flex: 2;
        padding-right: 10px;
        box-sizing: border-box;
      }
    }
  }

  &.type-2,
  &.type-3 {
    .pic {
      display: flex;
      justify-content: space-between;

      .img {
        width: 33.33%;
        flex: 1 1 auto;
        margin-right: 5px;
        background-color: #eee;
        font-size: 0;

        .last {
          margin: 0;
        }
      }
    }
  }

  .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 25px;
    color: #999;
    border-bottom: 1px solid #ededed;
    font-size: 12px;

    .author {
      margin-right: 10px;
    }
  }

  .title {
    padding: 5px 0;
    line-height: 20px;

    h1 {
      font-size: 16px;
    }
  }
}
